//
//  MBSpaceMyParentChildShowTabbarView.h
//  MiBaoTu
//
//  Created by admin on 16/9/19.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//  网络内容 本地亲子秀

#import <UIKit/UIKit.h>

@class MBSpaceMyParentChildShowTabbarView;
@protocol MBSpaceMyParentChildShowTabbarViewDelegate <NSObject>

- (void)onSelectItemForView:(MBSpaceMyParentChildShowTabbarView *)view withIndex:(NSInteger)selectIndex;

@end

@interface MBSpaceMyParentChildShowTabbarView : UIView

@property (nonatomic,assign)id<MBSpaceMyParentChildShowTabbarViewDelegate>delegate;
@property (nonatomic,assign)UIDeviceOrientation     orientation;

- (id)initWithFrame:(CGRect)frame
          withCount:(NSArray *)items
        withbgColor:(UIColor *)bgColor
    withSelectColor:(UIColor *)selectColor;

//更新选中状态
- (void)onUPdateUIForSelectIndex:(NSInteger)index;
//更新UI
- (void)onUpdateUIForTitle:(NSString *)title withIndex:(NSInteger)index;

@end
